#ifndef SCLXREADER_H
#define SCLXREADER_H

#include <QXmlStreamReader>
#include <QIODevice>

class Scene;
class Node;

class SclXReader
{
public:
	SclXReader();
	Scene* readFile(QIODevice* device);
	QString errorString() const;
private:
	Node* readNode();
	Node* createNodeFromName(const QStringRef& name);
	QXmlStreamReader xml;
};

#endif